{
 "cells": [
  {
   "cell_type": "markdown",
   "id": "31fccdc8-e120-4b0d-b52c-78acededfd7b",
   "metadata": {},
   "source": [
    "# 智能门禁\n",
    "### 本节课任务\n",
    "\n",
    "1. opencv 面部识别基础语句\n",
    "2. python 语句实现对面部的拍照和存储。\n",
    "3. 人脸识别的原理探究与理解掌握"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "11c775e9-940a-4378-88d1-f4486769ffb0",
   "metadata": {},
   "source": [
    "## 智能门禁系统的实现流程\n",
    "\n",
    "### 需要的硬件\n",
    "+ 摄像头(眼睛)\n",
    "+ 控制器(大脑)\n",
    "+ 舵机(肌肉)\n",
    "\n",
    "### 人脸识别的步骤\n",
    "1. 看到人脸\n",
    "   > 使用摄像头获取输入画面并获取面部信息\n",
    "2. 看清人脸\n",
    "   > 利用**灰度处理**\n",
    "3. 特征提取\n",
    "   > 关键点识别,提取特征点信息建立模型\n",
    "4. 匹配人脸\n",
    "   > 将数据跟数据库信息比对"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "fd564327-342d-43ae-85af-884a45a685f5",
   "metadata": {},
   "source": [
    "### 需要用到的第三方库\n",
    "#### OpenCV\n",
    ">\n",
    "> 使用openCV库直接在复杂的画面中识别到人脸,可以把你的面部信息读取生成为坐标数据用于识别比对,除此之外 opencv 还可以用来做物体识别、图像分割、动作识别、运动跟踪等等\n",
    ">\n",
    "#### OS\n",
    ">\n",
    "> \"os\"（Operating System）库是一个提供与操作系统交互的模块，用于执行各种系统级别的任务"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "c84e2bfb-86c6-42fd-ab13-6f41587aa438",
   "metadata": {},
   "source": [
    "### 本节课项目流程\n",
    "\n",
    "![](./img/1-4-4.png)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "b84490d9-0ee0-4b76-9ae1-420084a9cc8f",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.12.5"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
